package com.qianda.qdminiapp.common.exception;

/**
 * @ClassName SystemException
 * @Author cw
 * @Date 2019/8/6 15:02
 * @Version 1.0
 */
public class SystemException extends SimpleException {
    private static final long serialVersionUID = 1L;

    /**
     * 创建系统异常
     *
     * @param cause 原始异常
     */
    public SystemException(Throwable cause) {
        super(ExceptionCode.EX_SYSTEM, cause);
    }

    /**
     * 创建系统异常
     */
    public SystemException() {
        super(ExceptionCode.EX_SYSTEM);
    }
}
